package cn.yuanqiao.activiti.listener;

import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.ExecutionListener;
import org.springframework.stereotype.Component;

/**
 * @ClassName: ArchiveBgqxIdentifyNotAgreeListener
 * @Description: 保管期限不同意监听
 * @author: lihuahua
 * @date: 2023/12/5 19:24
 * @Blog: huahuacoco.top
 */

@Deprecated
@Component("ArchiveBgqxIdentifyNotAgreeListener")
public class ArchiveBgqxIdentifyNotAgreeListener implements ExecutionListener {

   /* @Autowired
    private MjIdentifyService mjIdentifyService;*/



    @Override
    public void notify(DelegateExecution execution) {

        /*String identifyId = String.valueOf(execution.getVariable("identifyId"));

        if (identifyId == null || "".equals(identifyId)){
            throw new ArchiveProcessException("密级鉴定单Id不能为空");
        }
        mjIdentifyService.disagreeMjType(identifyId);
        System.out.println("不同意密级鉴定，修改数据");*/

    }
}
